package com.heima.model.admin.dtos;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AdUserDTO implements Serializable {
    static final long serialVersionUID = 432498691690615L;
    private Integer id;
    @NotBlank(message="名称不能为Null")
    private String name;
    @NotBlank(message="密码不能为Null")
    private String password;
}